package com.orange.zkcase4;

/**
 * Description: 模拟12306售票案例
 */
public class LockTicketTest {
    public static void main(String[] args) {
        LockTicket lockTicket=new LockTicket();
        //创建客户端
        Thread t1 = new Thread(lockTicket, "携程");
        Thread t2 = new Thread(lockTicket, "飞猪");
        Thread t3 = new Thread(lockTicket, "12306");

        t1.start();
        t2.start();
        t3.start();
    }
}
